package com.zz.shop.common;

public enum ResponseCode {
    FAIL(0,"失败"),
    SUCCESS(1,"成功"),
    IS_LOGIN(2,"登录"),
    NOT_LOGIN(3,"未登录"),
    NOT_FOND(404,"没有找到这个信息");

    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResponseCode() {
    }

    ResponseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
